/*
 * Portada2Test.java
 * JMUnit based test
 *
 * Created on 11-ago-2011, 12:43:23
 */
package Hola;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Graphics;
import jmunit.framework.cldc10.*;

/**
 * @author luisorozco
 */
public class Portada2Test extends TestCase {
    
    public Portada2Test() {
        //The first parameter of inherited constructor is the number of test cases
        super(2, "Portada2Test");
    }    
    
    public void test(int testNumber) throws Throwable {
        switch (testNumber) {
            case 0:
                testCommandAction();
                break;
            case 1:
                testPaint();
                break;
            default:
                break;
        }
    }

    /**
     * Test of testCommandAction method, of class Portada2.
     */
    public void testCommandAction() throws AssertionFailedException {
        System.out.println("commandAction");
        Portada2 instance = null;
        Command c_1 = null;
        Displayable d_1 = null;
        instance.commandAction(c_1, d_1);
      
    }

    /**
     * Test of testPaint method, of class Portada2.
     */
    public void testPaint() throws AssertionFailedException {
        System.out.println("paint");
        Portada2 instance = null;
        Graphics g_1 = null;
        instance.paint(g_1);
        
    }
}
